package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 微信用户绑定对象 sys_user_weixin
 *
 * @author ruoyi
 * @date 2021-12-24
 */
@Data
public class SysUserWeixin extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 微信openid
     */
    @Excel(name = "微信openid")
    private String openId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Long userId;
    /*微信code*/
    private String code;
    /*用户名*/
    private String userName;
    private String nickName;

    private Boolean isAndroid = false;

    private String appId;
    private String appSecret;

}
